aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/pot/[name]/withdraw
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-19 16:00:17 -0800
committerAdam Soltys <[email protected]>2023-01-19 16:00:17 -0800
commitf7d9ec75ac19664fdfffd430ece29f288d6d4819 (patch)
treeeda0c591ef972891f1908a5b1e91e2855b7eef59 /src/routes/(app)/pot/[name]/withdraw
parent67c4af186fec0423664b18847921eb9696a1eeef (diff)
downloadcoinos-ui-f7d9ec75ac19664fdfffd430ece29f288d6d4819.tar.gz
coinos-ui-f7d9ec75ac19664fdfffd430ece29f288d6d4819.zip
rename network to type
Diffstat (limited to 'src/routes/(app)/pot/[name]/withdraw')
-rw-r--r--src/routes/(app)/pot/[name]/withdraw/+page.server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/pot/[name]/withdraw/+page.server.js b/src/routes/(app)/pot/[name]/withdraw/+page.server.js
index 6534e07b..7a486d58 100644
--- a/src/routes/(app)/pot/[name]/withdraw/+page.server.js
+++ b/src/routes/(app)/pot/[name]/withdraw/+page.server.js
@@ -11,7 +11,7 @@ export const actions = {
let body = Object.fromEntries(await request.formData());
try {
- await post('/withdraw', body, auth(cookies));
+ await post('/take', body, auth(cookies));
} catch (e) {
return invalid(400, { message: e.message });
}